package com.aj.dao;

import com.aj.pojo.Order;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderDao {
    List<Order> getOrderByMemberidDateSetmealId(Integer memberid, Date date, Integer setmealId);

    List<Order> getOrderByMemberidDateSetmealId(Map orderMap);

    void addorder(Order order);

    Map findById(Integer id);

    Integer findOrderCountByDate(String today);

    Integer findOrderCountAfterDate(String thisWeekMonday);

    Integer findVisitsCountByDate(String today);

    Integer findVisitsCountAfterDate(String thisWeekMonday);

    List<Map> findHotSetmeal();

    void delete(int id);

    List<Integer> findSetmealId(int id);

	void deleteByMemberIds(Integer i);
    void deleteMemberAndOrder(Integer id);
}
